
Component({
  properties: {
    list: {
      type: Array,
      value: []
    },
    status: {
      type: String,
      value: ''
    }
  },
  methods: {
    toChangeStatus(e) {
      console.log(e);
      let val = e.target.dataset;
      this.triggerEvent('toChangeStatus', val)
    },
    remove(e) {
      let val = e.target.dataset;
      this.triggerEvent('remove', val)
    }
  },
})